package com.tql.mall.gateway.constant;

/**
 * @Author: tyk
 * @Date: 2023/5/25 16:23
 * @Description:
 */
public class GateConstant {
    // 内部接口匹配模式
    public static final String INNER_PATTERN = "/**/inner/**";
    // 认证接口匹配模式
    public static final String AUTH_PATTERN = "/**/auth/**";
    // 鉴权失败的重定向地址
    public static final String SEE_OTHER = "http://www.zijie1024.cn/login.html?originUrl=";

    // 白名单url分隔符
    public static final String URL_SEP = ",";

    // IP异常标志
    public static final String IP_ERROR_FLAG = "-1";
    // token前缀
    public static final String USER_LOGIN_TOKEN_PREFIX = "token:login:";
}
